package cn.kgc.service;

import java.util.List;

import cn.kgc.entity.User;

public interface Service {

	User getLog(String sname, int password);

	List<User> getAllUser();

	List<User> getSearchUser(String sname, int gender, int yanzhi);

	int deleteUser(int sid);

	int modifyUser(int sid, String sname, int age, int yanzhi,int gender);

	int addUser(String sname, int age, int gender, int yanzhi);

	User ajaxquery(String sname);

	List<User> getUser();

}
